﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Wuther.Infrastructure.Organizations
{
    /// <summary>
    /// 部门信息Api添加或更新的DTO
    /// </summary>
    public record CreateOrUpdateOrganizationDto
    {
         /// <summary>
         /// 父级ID
         /// </summary>
         public Guid? ParentId {get;set;}

         /// <summary>
         /// 编号
         /// </summary>
         public string Code {get;set;}

         /// <summary>
         /// 显示名称
         /// </summary>
         public string DisplayName {get;set;}

         /// <summary>
         /// 行政区划
         /// </summary>
         public string AreaCode {get;set;}

         /// <summary>
         /// 负责人ID
         /// </summary>
         public Guid UserId {get;set;}

         /// <summary>
         /// 排序
         /// </summary>
         public int Sort {get;set;}

         /// <summary>
         /// 备注
         /// </summary>
         public string Remark {get;set;}


    }
}
